#pragma once

#include<functional>
#include<unistd.h>
#include<iostream>
#include"Log.hpp"
using task_t=std::function<void()>;
using namespace LogModule;
void DowenLoad()
{
    char name[16];
    pthread_getname_np(pthread_self(),name,sizeof(name));
    LOG(LogLevel::INFO)<<name<<"我是一个下载任务";
}